package edu.njucm.herbiv.dao

import edu.njucm.herbiv.pojo.entity.AnalysisOrder
import edu.njucm.herbiv.pojo.entity.FunctionType
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository

/**
 * @Author ZhouHang
 * @Date 24/5/17 周五
 */
@Repository
interface AnalysisOrderRepository: JpaRepository<AnalysisOrder, Int> {
    fun findByAnalysisNo(analysisNo: String): AnalysisOrder?
    fun countByFunctionType(functionType: FunctionType): Long
}
